package com.movie.demo.service;

import com.baomidou.mybatisplus.service.IService;
import com.movie.demo.pojo.Movie;

import java.util.List;

public interface MovieService extends IService<Movie> {
    List<Movie> selectMovie();

    Boolean addMovie(Movie movie);

    boolean deleteMovie(Integer mid);

    boolean updateMovie(Movie movie);

    List<Movie> searchMovie(String searchstr);

    List<Movie> topMovie();

    List<Movie> searchMovieid(int searchid);
}
